# Add sources
target_sources(${PROJECT_NAME}
               PRIVATE
               ${CMAKE_CURRENT_SOURCE_DIR}/base.h
               ${CMAKE_CURRENT_SOURCE_DIR}/camera_factory.h
               ${CMAKE_CURRENT_SOURCE_DIR}/perspective.h
               ${CMAKE_CURRENT_SOURCE_DIR}/fisheye.h
               ${CMAKE_CURRENT_SOURCE_DIR}/equirectangular.h
               ${CMAKE_CURRENT_SOURCE_DIR}/radial_division.h
               ${CMAKE_CURRENT_SOURCE_DIR}/base.cc
               ${CMAKE_CURRENT_SOURCE_DIR}/perspective.cc
               ${CMAKE_CURRENT_SOURCE_DIR}/fisheye.cc
               ${CMAKE_CURRENT_SOURCE_DIR}/equirectangular.cc
               ${CMAKE_CURRENT_SOURCE_DIR}/radial_division.cc)

# Install headers
file(GLOB HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/*.h")
install(FILES ${HEADERS}
        DESTINATION ${STELLA_VSLAM_INCLUDE_INSTALL_DIR}/camera)
